import { createApp } from 'vue'
import App from './App.vue'
import {initAntdComp} from '@/antd'
import '@/tailwind/index.css'
import {initStore} from '@/store'
import {initRouter} from '@/router'
import {setupRouterGuard} from '@/router/guard'


export const app = createApp(App)


function bootstrap() {
  initAntdComp(app)

  initStore(app)

  initRouter(app)

  setupRouterGuard()

}

bootstrap()

app.mount('#app')

